﻿
public class LogicStateBase
{
    protected LogicStateType m_state_type = 0;
    protected LogicStateMachine m_logic_state_machine = null;
    public LogicStateBase(LogicStateMachine machine)
    {
        m_logic_state_machine = machine;
    }
    public virtual void ReEnterState()
    {

    }
    public virtual void EnterState(object param)
    {

    }

    public virtual void LeaveState()
    {

    }

    public virtual LogicStateType GetState()
    {
        return m_state_type;
    }
    public virtual string GetLogicStateString()
    {
        return GetState().ToString();
    }

    public virtual void Update(float abstime)
    {

    }
    public virtual void LateUpdate(float abstime)
    {
    }

    public virtual void Release()
    {

    }
    }


